<?
//获取nav-itemed，控制侧边栏展开

if($_REQUEST['nav-itemed']=="index")
{$navi_index="layui-this";}

if($_REQUEST['nav-itemed']=="config")
{$navi_config="layui-this";}

if($_REQUEST['nav-itemed']=="user")
{$navi_user="layui-this";}


?>





<ul class="layui-nav"  >
  <li class="layui-nav-item <?echo $navi_index ?>" ><a href="/controller/extender/dashboard/view/index.php?nav-itemed=index"><i class="layui-icon">&#xe60f;</i>系统首页</a></li>







<?
//$userdepartment=select_one_line_all_items($table_Prefix."department","nid='".$_SESSION['departmentid']."'");
?>



	<li class="layui-nav-item <?echo $navi_user ?>"><a href="javascript:;"><i class="layui-icon">&#xe612;</i><?echo $_SESSION['username'];?> [ <?echo $userdepartment['name'] ?> ] </a>
		<dl class="layui-nav-child"> <!-- 二级菜单 -->
<!--      <dd><a href="--><?//echo $domain?><!--/controller/extender/user/view/detail-reset-pw.php?nav-itemed=user&nid=--><?//echo $_SESSION['nid'];?><!--"> 用户中心</a></dd>-->
      <dd><a href="/controller/loginout.php"> 注销登录</a></dd>
    </dl>
	</li>








    <!--


    <style>
        .topbar-inbox-list dd i {    border-radius: 15px;
            background: #ff9900;
            padding: 2px;
            margin-right: -12px!important;
            margin-top: 2px;
            font-style: normal;
            width: 25px;
            height: 25px;
            display: block;
            float: right;
            line-height: 28px;
            text-align: center;
            color: #ffffff;}
    </style>

    <li class="layui-nav-item"><a href="javascript:;"><i class="layui-icon" <? if(count($applymodify_member)>0){echo "style='color:#ff9900'";} ?>>&#xe611;</i>收件箱</a>
        <dl class="layui-nav-child topbar-inbox-list" style="width: 300px; right: 0!important;left: inherit!important;">



            <dd><a href="">库存不足(添加中)     <i><?echo count($material_lack) ?></i></a></dd>


            <dd>




<dd><a href="<? echo $domain ?>/controlbase/plates/equipment/detail-list.php?nav-itemed=equipment&select_endday=<?echo $alert_date?>&select_maintain=quanbao"">全保即将过期     <i><?echo count($equipment_quanbao) ?></i></a></dd>





        </dl>
    </li>

-->

</ul>


